<template>
	<!-- 未开发共用页面 -->
	<view :style="`height: ${windowHeight}px`" class="content">
		<up-empty mode="data" text="暂未上线, 敬请期待" icon="https://jqgh-public.yqfoodec.com/20250405/no-data_63870.png"></up-empty>
		<view class="btn-view">
			<up-button type="primary" shape="circle" text="返回" plain @click="goBack"></up-button>
		</view>
	</view>
	
</template>

<script>
	export default {
		data() {
			return {
				windowHeight: 0
			}
		},
		onLoad(options) {
			let title = options.title
			uni.setNavigationBarTitle({
				title
			})
			this.getsize()
		},
		methods: {
			getsize(){
			  let that = this
			  uni.getSystemInfo({
				success(res) {
				  that.windowHeight = res.windowHeight
				},
			  })
			},
			goBack() {
				uni.navigateBack({
					delta: 1
				});
			}
		}
	}
</script>

<style scoped lang="scss">
	.content {
		padding-top: 40%;
		text-align: center;
		width: 100%;
		.btn-view {
			margin: 50rpx auto;
			width: 200rpx;
		}
	}
</style>